|
xportethse 2.2.1
|
XPort ETH SE Click Example. More...
Macros | |
| #define | MIKROBUS_POSITION_XPORTETHSE MIKROBUS_1 |
| #define | APP_BUFFER_SIZE 300 |
| #define | PROCESS_BUFFER_SIZE 100 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
XPort ETH SE Click Example.
This example demonstrates the use of the XPort ETH SE Click board for Ethernet communication. The application initializes the XPort ETH SE module, retrieves essential information such as firmware version, MAC address, and network status, and demonstrates sending a ping command. It also allows for bidirectional UART communication between the USB UART and the XPort ETH SE UART.
The demo application is composed of two sections :
Initializes the UART communication, logs essential information, configures the XPort ETH SE module, and retrieves the firmware version, MAC address, and network status. It also demonstrates basic command operations such as pinging the specific IP address (8.8.8.8).
Continuously reads data from the USB UART and forwards it to the XPort ETH SE module, while also capturing responses from the module and forwarding them back to the USB UART. This allows real-time interaction with the device through the UART Terminal for configuration and diagnostics.
| #define APP_BUFFER_SIZE 300 |
| #define MIKROBUS_POSITION_XPORTETHSE MIKROBUS_1 |
| #define PROCESS_BUFFER_SIZE 100 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |